﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModifyQuarterPlanDraft.aspx.cs" Inherits="QuarterPlan_ModifyQuarterPlanDraft" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>年计划修改草稿</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script src="../Js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
     <script type="text/javascript" language="javascript">

         function department(str) {
             var QuarterPlanId = document.getElementById("QuarterPlanId");
             window.open('../WebCommon/DepartmentSlave.aspx?SID=' + str + '&PlanType=1&PlanId=' + QuarterPlanId.value, '', 'width=700,height=580,top=80, left=250');
         }
        
    </script>

    <script type="text/javascript" language="javascript">
        function userinfo(str)
            {
                window.open('../WebCommon/UserInfo.aspx?SID=' + str, '', 'width=700,height=580,top=150, left=300'); 
            }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
        </asp:ScriptManager><input id="QuarterPlanId" runat="server" type="hidden" />
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <table border="0" cellpadding="0" cellspacing="1" style="background-color: #d0d0ce"
                        width="884">
                        <tr style="height: 50px; background-color: #ffffff">
                            <td class="PlanModifyTableHeader" style="width: 0px">
                            </td>
                            <td class="PlanModifyTableHeader"  style="width: 30px" align="center">
                                计划编号</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 75px" valign="middle">
                                开始时间</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 75px" valign="middle">
                                完成时间</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 114px" valign="middle">
                                计划名称</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 53px" valign="middle">
                                责任部门</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 80px" valign="middle">
                                责任人</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 80px" valign="middle">
                                配合部门</td>
                            <td  class="PlanModifyTableHeader"  align="center" style="width: 110px" valign="middle">
                                配合部门责任</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 80px" valign="middle">
                                评估人</td>
                            <td class="PlanModifyTableHeader"  align="center" style="width: 90px" valign="middle">
                                备注</td>
                            <td class="PlanModifyTableHeader"  style="width: 35px">
                                操作</td>
                        </tr>
                        <tr style="height: 50px; background-color: #ffffff">
                            <td style="width: 0px">
                            </td>
                            <td style="width: 30px" align="center" valign="middle">
                                <input id="txtQuarterPlanSortId" runat="server" style="width: 23px" type="text" />
                            </td>
                            <td align="center" style="width: 75px" valign="middle">
                                <asp:TextBox ID="txtStartTime" runat="server" Width="65px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" SkinID="textboxSkin"></asp:TextBox><asp:CompareValidator
                                    ID="CompareValidator1" runat="server" ControlToValidate="txtStartTime" Display="Dynamic"
                                    ErrorMessage="日期类型不正确" Operator="DataTypeCheck" Type="Date" Width="0px"></asp:CompareValidator> 
                            </td>
                            <td align="center" style="width: 75px" valign="middle">
                                <asp:TextBox ID="txtCompleteTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" Width="65px" SkinID="textboxSkin"></asp:TextBox><asp:CompareValidator
                                    ID="CompareValidator2" runat="server" ControlToValidate="txtCompleteTime" Display="Dynamic"
                                    ErrorMessage="日期类型不正确" Operator="DataTypeCheck" Type="Date" Width="0px"></asp:CompareValidator> 
                            </td>
                            <td align="center" style="width: 114px" valign="middle">
                                <asp:TextBox ID="txtWorkItem" runat="server" Height="40px" TextMode="MultiLine" Width="100px" SkinID="textboxMultiLineSkin"></asp:TextBox></td>
                            <td align="center" style="width: 53px" valign="middle">
                                <asp:TextBox ID="txtMasterDepartment" runat="server" Enabled="False" Width="50px" SkinID="textboxSkin"></asp:TextBox></td>
                            <td align="center" style="width: 80px" valign="middle">
                                <input id="txtMasterPeople" runat="server" style="width: 50px" type="text" readonly="readOnly" /><a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"><img alt="" border="0" src="../images/addpages.jpg" /></a></td>
                            <td align="center" style="width: 80px" valign="middle">
                                <input id="txtSlaveDepartment" runat="server" style="width: 50px" type="text" readonly="readOnly" /><a href="#" onclick="javascript:department(parentNode.firstChild.id );"><img alt="" border="0" src="../images/addpages.jpg" /></a></td>
                            <td align="center" style="width: 110px" valign="middle">
                                <asp:TextBox ID="txtSlaveDepartmentDuty" runat="server" Height="40px" TextMode="MultiLine"
                                    Width="100px" SkinID="textboxMultiLineSkin"></asp:TextBox></td>
                            <td align="center" style="width: 80px" valign="middle">
                                <input id="txtEvaluatePeople" runat="server" style="width: 50px" type="text" readonly="readOnly" /><a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"><img alt="" border="0" src="../images/addpages.jpg" /></a></td>
                            <td align="center" style="width: 90px" valign="middle">
                                <asp:TextBox ID="txtRemark" runat="server" Height="40px" TextMode="MultiLine" Width="89px" SkinID="textboxMultiLineSkin"></asp:TextBox></td>
                            <td style="width: 35px" align="center" valign="middle">
                                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="修改" Width="30px" SkinID="buttonSkin" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
